<ul class="listegrandprix">
<?php
	foreach($this->grandprix as $grandprix)
	{
		if($grandprix->getGpNum()!=$this->id)
		{
			echo "<li><a href=\"".$this->url(array('id'=>$grandprix->getGpNum()),'addresultat')."\">".$grandprix->getGpNom()."</a><img src=\"".$this->url(array('path'=>urlencode($this->serverUrl().$this->baseUrl()."/images/pays/".$grandprix->getCircuit()->getPays()->getPayAdrDrap()),'width'=>32,'height'=>32),'thumb')."\" alt=\"".$grandprix->getCircuit()->getPays()->getPayNom()."\"/></li>";
		}
		else
		{
			echo "<li class='current'><a href=\"".$this->url(array('id'=>$grandprix->getGpNum()),'addresultat')."\">".$grandprix->getGpNom()."</a><img src=\"".$this->url(array('path'=>urlencode($this->serverUrl().$this->baseUrl()."/images/pays/".$grandprix->getCircuit()->getPays()->getPayAdrDrap()),'width'=>32,'height'=>32),'thumb')."\" alt=\"".$grandprix->getCircuit()->getPays()->getPayNom()."\"/></li>";
		}
	}
?>
</ul>